@import "@/amtf/css/amtf-uni.scss";
// @import 'tailwindcss/base';
// @import 'tailwindcss/utilities';
// page {
// 	display: flex;
// 	flex-direction: column;
// 	height: 100%;
// 	overflow: hidden;
// 	background-color: #f4f4f4;
// }
.a-yuanjiao{
	border-radius: calc(13px * 2.3 / 2);
}
.a-yuantou {
	width: 100rpx;
	height: 100rpx;
	border-radius: 50%;
	overflow: hidden;
	@extend .shadow-5;
	image {
		width: 100%;
		height: 100%;
	}
}
.a-yuantou-150{
	width: 150rpx;
	height: 150rpx;
	@extend .a-yuantou;
}
.bg-a{
	background:
	linear-gradient(to bottom,transparent,$uni-bg-color-grey 400rpx),
	linear-gradient(to right,#beecd8 20%,#F4E2D8);
}
// uni-page-wrapper{
// 	@extend .bg-a;
// }

page {
	@extend .bg-a;
}
.page {
	height: 100%;
	display: flex;
	flex-direction: column;
	// background-color: #fff;
	// background:
	// linear-gradient(to bottom,transparent,$uni-bg-color-grey 400rpx),
	// linear-gradient(to right,#beecd8 20%,#F4E2D8);
	// min-height: 80vh;
	// @extend .bg-a;
}

view,
navigator,
input,
scroll-view {
  box-sizing: border-box;
}
// quasar
$accent    : #cf4444;

.navigator-flex {
	uni-navigator {
		a {
			@extend .flex-center;
			display: flex;
			width: 100%;
		}
	}
}

// 清除uni-button
.a-qingchu {
  padding: 0;
  margin: 0;
  border: 0;
  background-color: transparent;
  line-height: inherit;
}

.a-card {
	@extend .shadow-2 ,.column ,.q-pa-sm;
	border-radius: 10rpx;
}
// .pageBg{
// 	background: 
// 	linear-gradient(to bottom,transparent,$uni-bg-color-grey 400rpx),
// 	linear-gradient(to right,#beecd8 20%,#F4E2D8);
// 	min-height: 80vh;
// }
// .page{
// 	height: 100%;
// }
.rmb {
	color: $accent;
}
.rmb::before {
	content: '¥';
	font-size: 75%;
	margin-right: 5rpx;
}
.loadingLayout{
	padding:30rpx 0;
}

// 底部安全栏高
.dibu-anquan-gao{
	height: env(safe-area-inset-bottom);
}

.a-m-x-un{
	margin-left: unset;
	margin-right: unset;
}
.f-28 {
	line-height: 2.5;
	text-align: center;
	// font-weight: 500;
	font-size: 28rpx;
}

.f-32 {
	line-height: 2.5;
	text-align: center;
	// font-weight: 500;
	font-size: 32rpx;
}

.fixed-dibu {
	position: fixed;
	left: 0;
	right: 0;
	bottom: calc((var(--window-bottom)));
	z-index: 1;
	// background-color: #fff;
	// height: 100rpx;
	// padding: 0 20rpx;
	// @extend .row;
	// justify-content: space-between;
	// align-items: center;
	// box-sizing: content-box;
}
	
button::after {
  border: none;
}

swiper,
scroll-view {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

image {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

// 两行省略
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.a-mask {
	width: 100%;
	height: 60rpx;
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.2);
	color: #fff;
	backdrop-filter: blur(20rpx);
	font-weight: 600;
}


.a-radio {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80rpx;
	height: 100%;

	&::before {
		content: '\e6cd';
		font-family: 'erabbit' !important;
		font-size: 40rpx;
		color: #444;
	}

	&.checked::before {
		content: '\e6cc';
		color: $primary;
	}
}